import Vue from 'vue'
import User from '@/views/Book/Book'
import BookPro from '@/views/BookPro/BookPro'
import VueRouter from "vue-router";

Vue.use(VueRouter);

const routes = [
    {
        path: '/',
        name: 'User',
        component: User
    },
    {
        path: '/bookPro',
        name: 'bookPro',
        component: BookPro
    }
];

const router = new VueRouter({
    routes
});

export default router

